package com.yearner.reviewplan.user.exceptions;

import com.yearner.reviewplan.common.enums.ResponseCode;
import com.yearner.reviewplan.common.exception.BaseAppException;

/**
 * 用户没有权限
 * @author pengyg
 * @since 2019/10/16
 */
public class NoPermissionException extends BaseAppException {
    private static final long serialVersionUID = 4937344945570215715L;

    public NoPermissionException() {
        super(ResponseCode.NO_PERMISSION);
    }

    public NoPermissionException(Object object) {
        super(ResponseCode.NO_PERMISSION,object);
    }
}
